package com.tianhao.luo.nouse.tree;

/**
 * 假设需要在地图上种树，但是树的种类就那几种
 * @author tianhao.luo
 * @date 2019/12/13 16:46
 */
public class Tree {
    private final String name;
    private final String data;

    public Tree(String name, String data) {
        this.name = name;
        this.data = data;
    }

    public String getName() {
        return name;
    }

    public String getData() {
        return data;
    }

    @Override
    public String toString() {
        return "Tree{" +
                "name='" + name + '\'' +
                ", data='" + data + '\'' +
                '}';
    }
}
